<%@ page language="java" pageEncoding="utf-8"%>
<%@page import="com.travelsky.airchina.boarding.util.PageUtil"%>
<%@page import="com.travelsky.airchina.boarding.util.PageViewUtil"%>
<%@page import="com.travelsky.airchina.boarding.common.ConstType"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<%
		PageUtil pageUtil = (PageUtil)request.getAttribute("pageUtil");
		%>
		<meta http-equiv="cache-control" content="no-cache,no-store" />
		<title>全国新农村建设产业化办公室,全国新农村建设产业化办公室官方网站</title>
		<link rel="stylesheet" type="text/css"
			href="<%=request.getContextPath()%>/css/styles.css" />
	    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/menu.css" media="screen" />
		
		 <!-- Anything Slider -->
		 <link href="<%=request.getContextPath()%>/css/anythingslider.css" type="text/css" rel="stylesheet" />
		 <link rel="stylesheet" href="<%=request.getContextPath()%>/css/pageslider.css" type="text/css" media="screen" />	
		 <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/tabs-flowplayer-v2.css"/>
		 
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/jquery-1.4.min.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/inc/jquery.metadata.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/inc/jquery.hoverIntent.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/inc/mbMenu.js"></script>

		 <!-- Anything Slider optional plugins -->
		 <script src="<%=request.getContextPath()%>/js/slider/jquery.easing.1.2.js" type="text/javascript"></script>
		 <!-- http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js -->
		 <script src="<%=request.getContextPath()%>/js/slider/swfobject.js" type="text/javascript"></script>
		
		 <script src="<%=request.getContextPath()%>/js/slider/jquery.anythingslider.min.js" type="text/javascript"></script>
		
		 <!-- Anything Slider optional FX extension -->
		 <script src="<%=request.getContextPath()%>/js/slider/jquery.anythingslider.fx.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/slider/myslider.js"></script>
	    <script type="text/javascript" src="${ctx}/js/flowplayer-3.2.6.min.js"></script>
		

		<script type="text/javascript">
		  $(function(){
		    $(".myMenu").buildMenu(
		    {
		      template:"<%=request.getContextPath()%>/common/menuVoices.html",
		      additionalData:"pippo=1",
		      menuWidth:200,
		      openOnRight:false,
		      menuSelector: ".menuContainer",
		      iconPath:"<%=request.getContextPath()%>/images/ico/",
		      hasImages:true,
		      fadeInTime:100,
		      fadeOutTime:300,
		      adjustLeft:2,
		      minZindex:"auto",
		      adjustTop:10,
		      opacity:.95,
		      shadow:false,
		      shadowColor:"#ccc",
		      hoverIntent:0,
		      openOnClick:true,
		      closeOnMouseOut:false,
		      closeAfter:1000,
		      submenuHoverIntent:200
		    });
				    
		  });
		</script>

	</head>

	<body>
	    <jsp:include page="/common/header.jsp"/>
		<div id="container">
		   <form name="listForm" id="listForm" method="post">
		    <input type="hidden" name="columnId" id="columnId" value="${columnId}"/>
		    <input type="hidden" name="columnName" id="columnName" value="${columnName}"/>
		    <div class="location">
		      <span class="location-tip">当前位置 ：</span><a href="<%=request.getContextPath()%>/">首页</a>>${columnName}
		    </div>
		    <div id="news-list">
				<ul>
				  <c:choose>
				   <c:when test="${list!=null && fn:length(list)>0}">
				  <c:forEach items="${list}" var="varTemp">
				  <li>
				    <span><fmt:formatDate value="${varTemp.createdTime}" type="date"/></span>
				    <c:choose>
				      <c:when test="${fn:length(varTemp.title)>50}"><a href="<%=request.getContextPath()%>/news/${varTemp.id}/${varTemp.title}" title="${varTemp.title}" target="_blank">${fn:substring(varTemp.title,0,49)}...</a></c:when>
				      <c:otherwise><a href="<%=request.getContextPath()%>/news/${varTemp.id}/${varTemp.title}" title="${varTemp.title}" target="_blank">${varTemp.title}</a></c:otherwise>
				    </c:choose>
				  </li>
				  </c:forEach>
				   </c:when>
				   <c:otherwise>
				   <li style="text-align:center;background:#ffffff;">
				   暂无信息
				   </li>
				   </c:otherwise>
				  </c:choose>
				</ul>
				<%
				if(pageUtil.getTotalPage()>1){
				%>
				<div class="front-page">
				<%
				PageViewUtil.printPage(out, pageUtil, "100%","listForm",request.getContextPath()+"/news/column/page","_self",true);
                %>
				</div>
				<%
				}
				%>
		    </div>
		   </form>
		   
		    <div id="right" class="border-radius-3">
			    <div class="column-title border-radius-3">
				    <div class="border-radius-3 column-title-bg-30-1">中心公告</div>
				    <ul>
				      <c:forEach items="${zhongxingonggaoList}" var="varTemp">
				      <li><a href="<%=request.getContextPath()%><%=ConstType.NEWS_HTML_PATH%>${varTemp.htmlUrl}" title="${varTemp.title}" target="_blank"><c:choose><c:when test="${fn:length(varTemp.title)>10}">${fn:substring(varTemp.title,0,10)}...</c:when><c:otherwise>${varTemp.title}</c:otherwise></c:choose></a>
				      </li>
				      </c:forEach>
				      <!-- 
				      <li>
				      温家宝主持召开国务院常
				      </li>
				      <li>
				      温家宝主持召开国务院常
				      </li>
				      <li>
				      强化大联合大协作 全 ...
				      </li>
				      <li>
				      商务部下发通知要求各 ...
				      </li>
				      <li>
				     商务部组织“万村千乡 ...
				      </li>
				      <li>
				      今年粮食总产预计105...
				      </li>
				      <li>
				      贾庆林：推进农村改革...
				      </li>
				      <li>
				      孙政才：深入贯彻落实...
				      </li>
				       -->
				    </ul>
				</div>
			    <div class="column-title border-radius-3">
				    <div class="border-radius-3 column-title-bg-30-1">招商引资</div>
				    <ul>
				      <c:forEach items="${zhaoshanyinziList}" var="varTemp">
				      <li><a href="<%=request.getContextPath()%><%=ConstType.NEWS_HTML_PATH%>${varTemp.htmlUrl}" title="${varTemp.title}" target="_blank"><c:choose><c:when test="${fn:length(varTemp.title)>10}">${fn:substring(varTemp.title,0,10)}...</c:when><c:otherwise>${varTemp.title}</c:otherwise></c:choose></a>
				      </li>
				      </c:forEach>
				      <!-- 
				      <li>
				      温家宝主持召开国务院常
				      </li>
				      <li>
				      温家宝主持召开国务院常
				      </li>
				      <li>
				      温家宝主持召开国务院常
				      </li>
				      <li>
				      温家宝主持召开国务院常
				      </li>
				      <li>
				      强化大联合大协作 全 ...
				      </li>
				      <li>
				      商务部下发通知要求各 ...
				      </li>
				      <li>
				     商务部组织“万村千乡 ...
				      </li>
				      <li>
				      今年粮食总产预计105...
				      </li>
				       -->
				    </ul>
				</div>
			</div>
		
		    <div class="clear-both"></div>
			
		</div>
		<div class="clear-both" style="height:20px"></div>
		<div id="footer">
		  <div class="footer-item">
		  版权所有 全国新农村建设产业化发展办公室
		  </div>
		  <div class="footer-item">
		  电话:010-66094639 传真：010-66094640 地址:北京市复兴门内大街国管局45号院
		  </div>
		  <div class="footer-item">
		  京ICP备06065797 网站保留所有权利，未经允许不得复制、镜像
		  </div>
		</div>
	</body>
</html>
